package com.beiding.delaytask.test;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 丁常磊
 * @date 2021/8/14 11:59
 */

@Configuration
public class QueueConfig {

    @Bean
    public Queue testQueue() {
        return new Queue("test-queue");
    }

}
